var mongoose = require('mongoose')

var schema = require('../config/schema')
var enoteSchema = mongoose.Schema(schema.enote)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var enoteModel = mongoose.model('enote', enoteSchema)

module.exports = enoteModel;
